<?php

use Illuminate\Routing\Router;

Admin::routes();

Route::group([
    'prefix'        => config('admin.route.prefix'),
    'namespace'     => config('admin.route.namespace'),
    'middleware'    => config('admin.route.middleware'),
    'as'            => 'admin.'
], function (Router $router) {

    $router->get('/', 'HomeController@index');
    $router->resource('/blog', 'BlogController');
    $router->resource('/set', 'SetController');
    $router->resource('/test/user', 'UserController');
});
